/**
 * @version 2007-5-22
 * @author xalinx at gmail dot com
 */
package org.nanhill.vest.component;

/**
 * @version 2007-5-22
 * @author xalinx at gmail dot com
 * 
 */
public class TableRow extends AbstractComponent {

	public void build(Builder builder) {
		builder.append("<tr>");
		buildInner(builder);
		builder.append("</tr>");
	}

	public Cell newCell() {
		Cell cell = new Cell();
		addChild(cell);
		return cell;
	}

	public Cell getCell(int id) {
		return (Cell) getChild(id);
	}

}
